<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly" xmlns:page="urn:page">
  <xsl:param name="rowcount"/>
  <xsl:param name="curpage"/>
  <xsl:output method="html" encoding="utf-8" />
  <xsl:template match="/">
    <div id="Files">
      <ul class="thead">
        <li id="tab-upload" onclick="TM.UploadFile()" class="current"><a href="javascript:void(0)">文件上传</a></li>
        <li id="tab-browser" onclick="TM.BrowserFile()"><a href="javascript:void(0)">查看上传文件</a></li>
      </ul>
      <div  id="upload">
        <iframe id="uploadwindow" name="uploadwindow" frameborder="0" width="0" height="0" marginheight="0">&nbsp;</iframe>
        <form class="frmUpload" target="uploadwindow" method="post" action="/upload.html" enctype="multipart/form-data">
          <ul>
            <li>请选择本地文件上传： </li>
            <li>
              <input class="FileInput" name="NewFile" type="file" />
              <input class="btnUpload" type="image" src="/images/default/btnUpload.gif" align="absmiddle" />
            </li>
          </ul></form>
          <form  method="post" target="uploadwindow" id="frmUploadRemote" action="/upload.html">
          <ul>
            <li>请填写远程的图片路径(http://开头)： </li>
            <li>
              <input class="FileInput" name="NewFile" type="text" />
              <input class="btnUpload" type="image" src="/images/default/btnUpload.gif" align="absmiddle" />
            </li>
          </ul>
        </form>
      </div>
      <div style="display:none" id="browser">
      	<xsl:value-of disable-output-escaping="yes" select="page:xLoadList('FileManager')"/>
      </div>
    </div>
  </xsl:template>
</xsl:stylesheet>
